<?php 
include('header.php');
?>

<h2>Log File Viewer</h2>
<hr />
<h3></h3>

<div class="scrollboxwide">
<?php 
$rawlog = "../pundit.log";
$fh = fopen($rawlog, 'r');
echo nl2br(fread($fh, filesize($rawlog)));
fclose($fh);
?>
</div>

<br />
<hr />

<?php include('footer.php'); ?>
